package com.micrograils.gormwithspringboot.domain

import grails.gorm.annotation.Entity

@Entity
class Person {

    String name
    int age

    static constaints = {
        name blank: false, maxSize: 200
        age min: 0
    }
}
